//
//  UICGoogleMapsAPI.h
//  MapDirectionsV3
//
//  Created by Kishikawa Katsumi on 09/12/19.
//  Copyright Kishikawa Katsumi 2009. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UICGoogleMapsAPI : NSObject<UIWebViewDelegate> {
    UIWebView *evaluator;
    id delegate;
    BOOL isInitialized;
}

@property (nonatomic, assign) id delegate;
@property (nonatomic, readonly) BOOL isInitialized;

- (NSString *)stringByEvaluatingJavaScriptFromString:(NSString *)script;

@end

@protocol UICGoogleMapsAPIDelegate<NSObject>
@optional
- (void)goolgeMapsAPIDidFinishInitialize:(UICGoogleMapsAPI *)goolgeMapsAPI;
- (void)goolgeMapsAPI:(UICGoogleMapsAPI *)goolgeMapsAPI didFailInitializeWithError:(NSError *)error;
- (void)goolgeMapsAPI:(UICGoogleMapsAPI *)goolgeMapsAPI didGetObject:(NSObject *)object;
- (void)goolgeMapsAPI:(UICGoogleMapsAPI *)goolgeMapsAPI didFailWithMessage:(NSString *)message;
@end
